* -------------------------------------------------------
* Date : Feb 26, 2020
* By Byungkyu Lee (bl11@indiana.edu)
* This do file runs all data processing for each data file
* and then combine multiple data sets and process them 
* -------------------------------------------------------
clear all 
set more off
set maxvar 10000

* specify your home directory here
global home "/Users/BK/Dropbox/project/PI-bearman/dataverse"

* also specify your raw data file and processed data files
global dir_raw "${home}/data/raw"
global dir_processed "${home}/data/processed"
global dir_manual "${home}/data/manual_coding"

* -- variable specification for each data 
do "${home}/code/data_setup/data setup_CNES_1992.do"
do "${home}/code/data_setup/data setup_GSS_1985_1987_2004.do"
do "${home}/code/data_setup/data setup_GSS_2010.do"
do "${home}/code/data_setup/data setup_ANES_2000.do"
do "${home}/code/data_setup/data setup_ANES_2006.do"
do "${home}/code/data_setup/data setup_ANES_2008.do"
do "${home}/code/data_setup/data setup_TESS_2010.do"
do "${home}/code/data_setup/data setup_TESS_2016.do"

do "${home}/code/data_setup/data setup_combine_all.do"

